package com.huawei.designpattern.compositereuse;

/**
 * @Desc
 * @Author 阿里P10大神退退
 * @date 2020/4/6 18:18
 */
public class CompositeReuseTest {

    public static void main(String[] args) {
        ProductDao productDao = new ProductDao();
        productDao.setDbConnection(new MySqlConnection());
        productDao.getConnection();
    }
}
